package com.homelock.constants;

/**
 * 0x00忘拔钥匙
 * 0x01锁门提醒
 * 0x02门铃提醒
 * 0x03门没关好
 * 0x04门已反锁
 * 0x05门已解锁
 * 0x06常开模式
 * 0x07添加用户
 * 0x08删除用户
 * 0x09 恢复出厂设置
 */
public enum IndicateTypeEnum {
    FORGET_KEY(0x00,"忘拔钥匙"),
    LOCK_REMEND(0x01,"锁门提醒"),
    RING_REMEND(0x02,"门铃提醒"),
    NOT_CLOSED(0x03,"门没关好"),
    LOCK_OUT(0x04,"门已反锁"),
    CLEAR_LOCK(0x05,"门已解锁"),
    ALWAY_MODE(0x06,"常开模式"),
    USER_ADD(0x07,"添加用户"),
    USER_DEL(0x08,"删除用户"),
    RESET(0x09,"恢复出厂设置");

    int code;
    String desc;

    IndicateTypeEnum(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
